package com.example.demo.sys.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by 蔡超 on 2018/10/7.
 */
@Controller
@RequestMapping(value = "/page")
public class PageController {

    @RequestMapping(value = "/{page}")
    public String page(@PathVariable String  page){
        return page;
    }
}
